{include file="$usertemplate/header.temp.html"}
{include file="$usertemplate/left.temp.html" title=left}
{assign var=formId value='addEntry'}
{assign var=rightPanel value='hidden'}
<div id="contextual" class="{$rightPanel}">
<div class="levBtn">
<p><a href="#"><img src="templates/{$usertemplate}/images/btn_arrow_02.gif" alt="" width="18" height="19" /></a></p>
</div>

</div>
<div id="content">
<div class="highlight">
<h2><a href="">{$amessages.control_panel}</a> &raquo; {$amessages.add_entry}</h2>
<ul id="tablist">
<li class="current"><a href="{$script}?op=manage&amp;part=entry&amp;act=add&amp;pId={$pId}" title="{$amessages.add_entry}">{$amessages.add_entry}</a> </li>
<li><a href="{$script}?op=manage&part=entry&act=list" title="{$amessages.list_entry}">{$amessages.list_entry}</a> </li>
<li><a href="{$script}?op=manage&part=entry&act=list&plus=cleanTrash" title="{$amessages.clean_trash}">{$amessages.clean_trash}</a> </li>
</ul>
{if $infoText}
<div class="{$infoClass}">
<h4>Result:</h4>
<p>{$infoText}</p>
</div>
{/if}
<div class="formType">
<form action="{$script}" method="post" id="{$formId}" name="{$formId}" enctype="multipart/form-data">
<fieldset>

<!--
<input type="text" name="addLang1" value="{$addLang}" style="width:100px" />addLang<br />
<input type="text" name="addStatus1" value="{$addStatus}" style="width:100px" />addStatus<br />
<input type="text" name="title1" value="{$title}" style="width:100px" />title<br />
<input type="text" name="cId1" value="{$cId}" style="width:100px" />cId<br />
<input type="text" name="keyword1" value="{$keyword}" style="width:100px" />keyword<br />
<input type="text" name="sapo1" value="{$sapo}" style="width:100px" />sapo<br />
<input type="text" name="details1" value="{$details}" style="width:100px" />details<br />-->
<!--<p>
<label for="status">{$amessages.language} *</label>
<span>{$amessages.language_help}</span>
<select name="lang">
{$listLang}
</select>
</p>-->
<p>
<label for="status">{$amessages.status} *</label>
<span>{$amessages.status_help}</span>
<select name="status">
{$listStatus}
</select>
</p>
<!--<p>
<label for="pId">{$amessages.category} *</label>
<span>{$amessages.category_help}</span>
<select name="cId">
<option value="-1">All</option>
{$listCategories}
</select>
</p>-->
<p>
<label for="title">{$amessages.title} *</label>
<span>{$amessages.title_help}</span>
<input type="text" name="title" value="{$title}" />
</p>
<p>
<label for="sapo">{$amessages.sapo} *</label>
<span>{$amessages.sapo_help}</span>
<textarea name="sapo" id="sapo" rows="10" cols="5" class="mceAdvanced">{$sapo}</textarea>
</p>
<p>
<label for="details">{$amessages.details} *</label>
<span>{$amessages.details_help}</span>
<textarea name="details" id="details" rows="30" cols="5" class="mceAdvanced">{$details}</textarea>
</p>
<p>
<label for="details">Upload</label>
<input type="file" name="avatar" value="" />
</p>
<!--<p>
<label for="vn_name">{$amessages.position} </label>
<span>{$amessages.position_help}</span>
<input type="text" name="position" value="{$position}" />
</p>
--><!--
<p class="radioType">
<input type="radio" name="radio3" id="radio3" />
<label for="radio3">radio 3</label>
<input type="radio" name="radio3" id="radio4" />
<label for="radio4">radio 4</label>
</p>
-->
<!--<p class="radioType">
<input type="checkbox" name="setwatermark" id="watermark" checked="checked" value="1"/>
<label for="frontpage">Watermark </label>
</p>-->
<!--<p class="radioType">
<input type="checkbox" name="frontend" id="frontend" {if $home == 1 }checked="checked"{/if} value="1" />
<label for="frontpage">Chọn làm tin nổi bật</label>
</p>
-->
<p class="btnType">
<input type="hidden" name="op" value="{$op}" />
<input type="hidden" name="part" value="{$part}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="searchTerms" value="{$searchTerms}"/>
<input type="hidden" name="searchStatus" value="{$searchStatus}"/>
<input type="hidden" name="searchLang" value="{$searchLang}"/>
<input type="hidden" name="searchLang" value="{$searchCategory}"/>
<span><input type="reset" value="{$amessages.reset}" title="{$amessages.reset}" name="btnReset" /></span>
<span><input type="submit" value="{$amessages.save}" title="{$amessages.save}" name="btnSubmit" /></span>
</p>
</fieldset>
</form>
</div>
</div>
</div>
</div>
<div class="push"></div>
</div>
{include file="$usertemplate/footer.temp.html" title=footer}
